const path = require('path');
// console.log( path.join('a','b','c','/d','..') );
// console.log( path.join('a','/b','c') );
console.log( path.join('a','/b','c') );